﻿@model gm554016.Models.Consoles

@{
    ViewBag.Title = "Delete Game Console";
}

<h2>Delete Game Console</h2>

<h3>Are you sure you want to delete this?</h3>
<div>
    
    <dl class="dl-horizontal">
        <dt>
            Developer Name
        </dt>

        <dd>
            @Html.DisplayFor(model => model.developer.developerName)
        </dd>

        <dt>
            Console Name
        </dt>

        <dd>
            @Html.DisplayFor(model => model.consoleName)
        </dd>

        <dt>
            Release Date
        </dt>

        <dd>
            @Html.DisplayFor(model => model.releaseDate)
        </dd>

        <dt>
            Description
        </dt>

        <dd>
            @Html.DisplayFor(model => model.description)
        </dd>

    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Delete" class="btn btn-danger" /> |
            @Html.ActionLink("Back to Game Console List", "Index")
        </div>
    }
</div>
